Class como.awt.SmartFrame
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class como.awt.SmartFrame

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Window
                           |
                           +----java.awt.Frame
                                   |
                                   +----como.awt.SmartFrame

public class SmartFrame
extends Frame

Constructor Index

 o SmartFrame()
Constructs a new SmartFrame.
 o SmartFrame(Component)
Constructs a new SmartFrame.
 o SmartFrame(Component, String, Event, String, Event)
Constructs a new SmartFrame with two Buttons: OK and Cancel.
 o SmartFrame(Component, String)
Constructs a new SmartFrame.
 o SmartFrame(String, String)
calls SmartFrame( new Label(msg), ok );
 o SmartFrame(String)
calls SmartFrame( msg, "OK" );

Method Index

 o handleEvent(Event)

Constructors

 o SmartFrame
  public SmartFrame()
Constructs a new SmartFrame. This Frame only reacts to the WINDOW_DESTROY Event.
 o SmartFrame
  public SmartFrame(Component c)
Constructs a new SmartFrame. If a notifier Component is given, Events are posted there. Otherwise, this Frame only reacts to the WINDOW_DESTROY Event.
 o SmartFrame
  public SmartFrame(Component c,
                    String ok,
                    Event evtOk,
                    String cancel,
                    Event evtCancel)
Constructs a new SmartFrame with two Buttons: OK and Cancel. If OK is pressed, Evt is sent to component. If Cancel is pressed, evtcancel is sent. It is not pack()'ed or show()'n.
 o SmartFrame
  public SmartFrame(Component comp,
                    String ok)
Constructs a new SmartFrame. The Frame will be shown. The Component will be displayed in the Frame and an OK-Button will be added.
 o SmartFrame
  public SmartFrame(String msg,
                    String ok)
calls SmartFrame( new Label(msg), ok );
 o SmartFrame
  public SmartFrame(String msg)
calls SmartFrame( msg, "OK" );

Methods

 o handleEvent
  public boolean handleEvent(Event evt)
Overrides:
handleEvent in class Component

All Packages  Class Hierarchy  This Package  Previous  Next  Index